<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>下拉菜单 - bootstrap</title>
    <link rel="stylesheet" href="css\bootstrap.min.css" />
</head>

<body>
    <div class="dropdown">
        <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            Dropdown trigger<span class="caret"></span>
        </button>
        <ul class="dropdown-menu" aria-labelledby="dLabel">
            <li><a href="#">1下来菜单</a></li>
            <li><a href="#">2下来菜单</a></li>
            <li><a href="#">3下来菜单</a></li>
        </ul>
    </div>

    <div class="dropdown">
        <a id="dLabel" data-target="#" href="http://example.com" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
            Dropdown trigger<span class="caret"></span>
        </a>
        <ul class="dropdown-menu" aria-labelledby="dLabel">
            <li><a href="">1下拉菜单</a></li>
            <li><a href="">2下拉菜单</a></li>
            <li><a href="">3下拉菜单</a></li>
        </ul>
    </div>

    <script src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript" charset="utf-8"></script>
</body>

</html>
